import { COMMONYN } from "../enums/global";

export const commonYntoBoolean = (pre: COMMONYN) => {
  return pre === COMMONYN.YES ? true : false;
};

export const booleanToCommonYn = (pre: Boolean) => {
  return pre ? COMMONYN.YES : COMMONYN.NO;
};
